package com.ruoyi.dynamic.model.pojo.request.app;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.Set;

@Getter
@Setter
@Schema(description = "APP-房间用户添加编辑马甲")
public class AppRoomPostAddOrEditRequest {
    @Schema(description = "当前马甲id")
    private Long id = 0L;

    @Schema(description = "用户id")
    @NotNull(message = "用户id不能为空")
    private Long userId;

    @Schema(description = "房间id")
    @NotNull(message = "房间id不能为空")
    private Long roomId;

    @Schema(description = "职位id")
    @NotNull(message = "职位id不能为空")
    private Long postId;

    @Schema(description = "权限列表id")
    @NotEmpty(message = "权限ids不能为空")
    private Set<Long> permissionIds;

}
